{include file=header.html}
<script language="javascript" type="text/javascript" src="{res file=js/jquery-1.2.6.js}"></script>
<style type="text/css">
.page{float:left;}
</style>
<body>
<div class="sub-body">
<div class="tab_info">
<div class="tab-title-1"  style="width:698px;"><span>{$lang.fabric_shop_manage}</span></div>
<table width="700px"  cellspacing="0" cellpadding="0" class="tab-display" id="tab-color1">
	<tr>
		<td colspan="4" align="right" style="padding-right:50px;"><a href="{url index.php?app=fabric_shop&act=add}" class="add btn-2">{$lang.add_new_fabric_shop}</a></td>
	</tr>
      <tr>
        <th width="50%">{$lang.fabric_shop_name}</th>
        <th width="20%">{$lang.description}</th>
		<th width="15%">{$lang.if_show}</th>
		<th width="15%">{$lang.handle}</th>
      </tr>
	  <!--{foreach from=$fabric_shops item=fabric_shop}-->
       <tr>
        <td>{$fabric_shop.fabric_shop_name|escape}</td>
        <td>{$fabric_shop.description|escape}</td>
        <td><!--{if $fabric_shop.if_show}-->{$lang.yes}<!--{else}-->{$lang.no}<!--{/if}--></td>
		<td>
			<a href="{url index.php?app=fabric_shop&act=edit&fsid=$fabric_shop.fabric_shop_id}">{$lang.edit}</a>&nbsp; 
			<a href="javascript:if(confirm('确认删除此布行档口吗?')==true){location.href='{url index.php?app=fabric_shop&act=del&fsid=$fabric_shop.fabric_shop_id}';};">{$lang.delete}</a>
		</td>
      </tr>
	  <!--{/foreach}-->
    </table>
    {include file=page.html}
<script language="javascript" type="text/javascript" src="{res file=js/tab_color.js}"></script>
</div></div>
</body>
</html>